<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>云南公安网安大数据安全监管平台</title>
  <link rel="stylesheet" href="../../assets/css/uikit.css">
  <link rel="stylesheet" href="../../assets/css/style.css">
  <link rel="stylesheet" href="../../assets/icons/style.css">
  <script src="../../scripts/jquery-1.11.3.min.js"></script>
  <script src="nav.js"></script>
  <script src="../../scripts/plugins/jquery.icheck.min.js"></script>
  <script src="../../scripts/plugins/jquery.tablesort.min.js"></script>
  <script src="../../scripts/plugins/jquery.ztree.all.min.js"></script>
</head>
<body class="sys-body" style="overflow:hidden;">
  <div class="sys-header">
    <div class="sys-logo">
      <h1>云南公安网安大数据安全监管平台</h1>
    </div>

    <div class="sys-menu" id="sys-menu">
      <ul>
        <li>loading......</li>
      </ul>
      <div class="curLine"></div>
    </div>
    <div class="sys-topbar">
      <img src="../../assets/images/_userphoto.png"><span><a href="javascript:void(0);">Admin</a><a href="javascript:void(0);"> 【注销】</a></span>
    </div>
  </div>

  <div class="sys-sidebar">
    <div class="toggle-sidebar"><i class="icon-toleft"></i></div>
    <ul>
      <li> <a href="sys-db.html"><i class="icon-db"></i><span>日志管理</span></a><em class="open"></em>
        <ul>
          <li><a href="sys-disk.html">日志清理</a></li>
          <!-- <li><a href="sys-backup.html">数据备份</a></li> -->
        </ul>
      </li>

      <li class="active"> <a href="javascript:void(0);"><i class="icon-info-fill"></i><span>系统信息</span></a><em class="open"></em>
        <ul>
          <li><a href="sys-info.html">系统信息</a></li>
          <li><a href="sys-email.html">邮件服务器</a></li>
          <li  class="active"><a href="sys-collection.html">采集服务器</a></li>
          <li><a href="sys-server.html">客户端类型配置</a></li>
        </ul>
      </li>

      <li> <a href="sys-dictionary.html"><i class="icon-info-fill"></i><span>数据字典管理</span></a><em class="open"></em>
        <ul>
          <li><a href="sys-dictionary.html">码表管理</a></li>
        </ul>
      </li>
    </ul>
  </div>

  <div class="sys-main" id="sys-main">
    <div class="sys-title"><h2>采集服务器</h2></div>

    <div class="sys-content">
      <div class="panel">
        <div class="panel-head">
          <div class="panel-title">
            <h3>服务器列表</h3>
          </div>
          <div class="btnbar"> <button class="btn btn-success" id="addbtn">添加采集服务器</button></div>

          <div class="filter">
            <div class="fm-group"><select><option>名称</option><option>IP地址</option></select>
              <input type="text" placeholder="请输入关键词查询">
            </div> <button class="btn">检索</button>
          </div>
        </div>
        <div class="panel-body">


          <table class="table table-striped">
            <thead>
              <tr>
                <th width="3%"><input type="checkbox"></th>
                <th width="5%">序号</th>
                <th>名称</th>
                <th>服务器IP</th>
                <th>端口</th>
                <th>类型</th>
                <th>状态</th>
                <th>修改时间</th>
                <th>操作</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td><input type="checkbox"></td>
                <td>1</td>
                <td><a href="javascript:void(0);">电围采集服务器001</a></td>
                <td>182.122.176.42</td>
                <td>3323</td>
                <td>RabbitMQ</td>
                <td><label class="toggle" title="开启/停止"><input type="checkbox"><span class="handle"></span></label></td>
                <td>2017-08-25 09:21:35</td>
                <td class="icons"><a href="javascript:void(0);"  title="修改"><i class="icon-setting"></i></a><a href="javascript:void(0);" title="删除"><i class="icon-delete"></i></a></td>
              </tr>
              <tr>
                <td><input type="checkbox"></td>
                <td>2</td>
                <td><a href="javascript:void(0);">电围采集服务器002</a></td>
                <td>172.22.176.124</td>
                <td>8099</td>
                <td>RabbitMQ</td>
                <td><label class="toggle" title="开启/停止"><input type="checkbox" checked><span class="handle"></span></label></td>
                <td>2017-08-25 09:21:35</td>
                <td class="icons"><a href="javascript:void(0);"  title="修改"><i class="icon-setting"></i></a><a href="javascript:void(0);" title="删除"><i class="icon-delete"></i></a></td>
              </tr>
              <tr>
                <td><input type="checkbox"></td>
                <td>3</td>
                <td><a href="javascript:void(0);">电围采集服务器003</a></td>
                <td>172.22.176.201</td>
                <td>3323</td>
                <td>RabbitMQ</td>
                <td><label class="toggle" title="开启/停止"><input type="checkbox" checked><span class="handle"></span></label></td>
                <td>2017-08-25 09:21:35</td>
                <td class="icons"><a href="javascript:void(0);"  title="修改"><i class="icon-setting"></i></a><a href="javascript:void(0);" title="删除"><i class="icon-delete"></i></a></td>
              </tr>
              <tr>
                <td><input type="checkbox"></td>
                <td>4</td>
                <td><a href="javascript:void(0);">电围采集服务器004</a></td>
                <td>122.126.176.24</td>
                <td>7822</td>
                <td>RabbitMQ</td>
                <td><label class="toggle" title="开启/停止"><input type="checkbox"><span class="handle"></span></label></td>
                <td>2017-08-25 09:21:34</td>
                <td class="icons"><a href="javascript:void(0);"  title="修改"><i class="icon-setting"></i></a><a href="javascript:void(0);" title="删除"><i class="icon-delete"></i></a></td>
              </tr>
              <tr>
                <td><input type="checkbox"></td>
                <td>5</td>
                <td><a href="javascript:void(0);">WIFI采集服务器001</a></td>
                <td>122.43.176.37</td>
                <td>3323</td>
                <td>RabbitMQ</td>
                <td><label class="toggle" title="开启/停止"><input type="checkbox" checked><span class="handle"></span></label></td>
                <td>2017-08-25 09:21:35</td>
                <td class="icons"><a href="javascript:void(0);"  title="修改"><i class="icon-setting"></i></a><a href="javascript:void(0);" title="删除"><i class="icon-delete"></i></a></td>
              </tr>
              <tr>
                <td><input type="checkbox"></td>
                <td>6</td>
                <td><a href="javascript:void(0);">WIFI采集服务器002</a></td>
                <td>122.55.176.64</td>
                <td>3323</td>
                <td>RabbitMQ</td>
                <td><label class="toggle" title="开启/停止"><input type="checkbox" checked><span class="handle"></span></label></td>
                <td>2017-08-25 09:21:35</td>
                <td class="icons"><a href="javascript:void(0);"  title="修改"><i class="icon-setting"></i></a><a href="javascript:void(0);" title="删除"><i class="icon-delete"></i></a></td>
              </tr>
              <tr>
                <td><input type="checkbox"></td>
                <td>7</td>
                <td><a href="javascript:void(0);">WIFI采集服务器003</a></td>
                <td>122.22.176.67</td>
                <td>3323</td>
                <td>RabbitMQ</td>
                <td><label class="toggle" title="开启/停止"><input type="checkbox" checked><span class="handle"></span></label></td>
                <td>2017-08-25 09:21:35</td>
                <td class="icons"><a href="javascript:void(0);"  title="修改"><i class="icon-setting"></i></a><a href="javascript:void(0);" title="删除"><i class="icon-delete"></i></a></td>
              </tr>
              <tr>
                <td><input type="checkbox"></td>
                <td>8</td>
                <td><a href="javascript:void(0);">WIFI采集服务器004</a></td>
                <td>122.22.176.24</td>
                <td>6323</td>
                <td>RabbitMQ</td>
                <td><label class="toggle" title="开启/停止"><input type="checkbox" checked><span class="handle"></span></label></td>
                <td>2017-08-25 09:21:34</td>
                <td class="icons"><a href="javascript:void(0);"  title="修改"><i class="icon-setting"></i></a><a href="javascript:void(0);" title="删除"><i class="icon-delete"></i></a></td>
              </tr>
              <tr>
                <td><input type="checkbox"></td>
                <td>9</td>
                <td><a href="javascript:void(0);">WIFI采集服务器005</a></td>
                <td>122.221.176.214</td>
                <td>3323</td>
                <td>RabbitMQ</td>
                <td><label class="toggle" title="开启/停止"><input type="checkbox"><span class="handle"></span></label></td>
                <td>2017-08-25 09:21:32</td>
                <td class="icons"><a href="javascript:void(0);"  title="修改"><i class="icon-setting"></i></a><a href="javascript:void(0);" title="删除"><i class="icon-delete"></i></a></td>
              </tr>
              <tr>
                <td><input type="checkbox"></td>
                <td>10</td>
                <td><a href="javascript:void(0);">WIFI采集服务器006</a></td>
                <td>122.202.176.87</td>
                <td>3323</td>
                <td>RabbitMQ</td>
                <td><label class="toggle" title="开启/停止"><input type="checkbox" checked><span class="handle"></span></label></td>
                <td>2017-08-25 09:20:30</td>
                <td class="icons"><a href="javascript:void(0);"  title="修改"><i class="icon-setting"></i></a><a href="javascript:void(0);" title="删除"><i class="icon-delete"></i></a></td>
              </tr>
            </tbody>
          </table>

        </div><!--panel-body end-->
        <div class="panel-foot">
          <div class="btns"><button class="btn btn-danger">批量删除</button></div>
          <div class="page">
            <ul class="pagination">
              <li class="disabled"><a href="javascript:void(0);">&lt;</a></li>
              <li class="active"><a href="javascript:void(0);">1</a></li>
              <li><a href="javascript:void(0);">2</a></li>
              <li><a href="javascript:void(0);">3</a></li>
              <li><a href="javascript:void(0);">4</a></li>
              <li><a href="javascript:void(0);">5</a></li>
              <li><a href="javascript:void(0);">&gt;</a></li>
              <li class="go"><input type="text" title="输入页码跳转"></li>
            </ul>
          </div>
        </div><!--panel-foot end-->
      </div>
    </div>
  </div>

  <div class="dialog dialog-sm">
    <div class="dialog-win">
      <div class="dialog-head"><span>添加采集服务</span><a class="close" href="javascript:void(0);"><i class="icon-close"></i></a></div>
      <div class="dialog-body">

        <div class="form-box">
          <div class="form-item">
            <div class="form-title">名称：</div>
            <div class="form-content"><input class="input" id="e2" type="text"></div>
          </div>
          <div class="form-item">
            <div class="form-title"><em class="fc-danger">*</em> IP地址：</div>
            <div class="form-content"><input class="input" type="password"></div>
          </div>
          <div class="form-item">
            <div class="form-title"><em class="fc-danger">*</em>端口号：</div>
            <div class="form-content"><input class="input" id="e3" type="text"></div>
          </div>
          <div class="form-item">
            <div class="form-title">类型：</div>
            <div class="form-content"><select>
              <option>RabbitMQ</option>
            </select>
          </div>
        </div>

        <div class="form-item">
          <div class="form-title">备注：</div>
          <div class="form-content"><textarea class="input"></textarea></div>
        </div>


      </div>

    </div>
    <div class="dialog-foot"><button class="btn" id="save">确认</button><button id="cancel" class="btn btn-minor">取消</button></div>

  </div>
</div>
<!--dialog end-->
</body>
</html>
<script>
  $(document).ready(function(){
   $("#addbtn").on("click",function(){
    $(".dialog").show();
  })

   $(".dialog .close,#cancel").on("click",function(){
    $(".dialog").hide();
  })
   $.fn.zTree.init($("#role"), setting, zNodes);
 })

  var setting = {
    check: {
      enable: true
    },
    data: {
      simpleData: {
        enable: true
      }
    }
  };

  var zNodes =[
  { id:1, pId:0, name:"平台管理员", open:true},

  { id:2, pId:0, name:"采集系统管理员", open:true},

  { id:3, pId:0, name:"分析系统管理员"},

  { id:4, pId:0, name:"数据交换系统管理员"},

  { id:5, pId:0, name:"资源目录系统用户"},
  ];

</script>